package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * ApiRequestInfoOfMemberInGroupData
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiRequestInfoOfMemberInGroupData   {
  @JsonProperty("ryId")
  private Integer ryId = null;

  @JsonProperty("orgId")
  private String orgId = null;

  @JsonProperty("tdId")
  private Integer tdId = null;

  public ApiRequestInfoOfMemberInGroupData ryId(Integer ryId) {
    this.ryId = ryId;
    return this;
  }

  /**
   * Get ryId
   * @return ryId
  **/
  @ApiModelProperty(value = "")


  public Integer getRyId() {
    return ryId;
  }

  public void setRyId(Integer ryId) {
    this.ryId = ryId;
  }

  public ApiRequestInfoOfMemberInGroupData orgId(String orgId) {
    this.orgId = orgId;
    return this;
  }

  /**
   * Get orgId
   * @return orgId
  **/
  @ApiModelProperty(value = "")


  public String getOrgId() {
    return orgId;
  }

  public void setOrgId(String orgId) {
    this.orgId = orgId;
  }

  public ApiRequestInfoOfMemberInGroupData tdId(Integer tdId) {
    this.tdId = tdId;
    return this;
  }

  /**
   * Get tdId
   * @return tdId
  **/
  @ApiModelProperty(value = "")


  public Integer getTdId() {
    return tdId;
  }

  public void setTdId(Integer tdId) {
    this.tdId = tdId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiRequestInfoOfMemberInGroupData apiRequestInfoOfMemberInGroupData = (ApiRequestInfoOfMemberInGroupData) o;
    return Objects.equals(this.ryId, apiRequestInfoOfMemberInGroupData.ryId) &&
        Objects.equals(this.orgId, apiRequestInfoOfMemberInGroupData.orgId) &&
        Objects.equals(this.tdId, apiRequestInfoOfMemberInGroupData.tdId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(ryId, orgId, tdId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiRequestInfoOfMemberInGroupData {\n");
    
    sb.append("    ryId: ").append(toIndentedString(ryId)).append("\n");
    sb.append("    orgId: ").append(toIndentedString(orgId)).append("\n");
    sb.append("    tdId: ").append(toIndentedString(tdId)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

